// JavaScript Document

	function Password(letra){
		var data = "abcdefghijklmnñopqrstuvwxyzABCDEFGHIJKLMNÑOPQRSTUVWXYZ0123456789";
		var nav4 = window.Event ? true : false;
		var key = nav4 ? letra.which : letra.keyCode;
		
		if (data.indexOf(String.fromCharCode(key)) > -1 || key <= 12)
			return true;
		else
			return false;
	}
	 
	function General(letra){
		var data = "abcdefghijklmnñopqrstuvwxyzáéíóú ABCDEFGHIJKLMNÑOPQRSTUVWXYZÁÉÍÓÚ()#0123456789-+/\(),.:";
		var nav4 = window.Event ? true : false;
		var key = nav4 ? letra.which : letra.keyCode;
		
		if (data.indexOf(String.fromCharCode(key)) > -1 || key <= 13)
			return true;
		else
			return false;
	}
		
	function Letras(letra){
		var data = "abcdefghijklmnñopqrstuvwxyz ABCDEFGHIJKLMNÑOPQRSTUVWXYZ-+().";
		var nav4 = window.Event ? true : false;
		var key = nav4 ? letra.which : letra.keyCode;
		
		if (data.indexOf(String.fromCharCode(key)) > -1 || key <= 12)
			return true;
		else
			return false;
	}
	
	function LetrasAcento(letra){
		var data = "abcdefghijklmnñopqrstuvwxyzáéíóú ABCDEFGHIJKLMNÑOPQRSTUVWXYZÁÉÍÓÚ-+()";
		var nav4 = window.Event ? true : false;
		var key = nav4 ? letra.which : letra.keyCode;
		
		if (data.indexOf(String.fromCharCode(key)) > -1 || key <= 12)
			return true;
		else
			return false;
	}
